package com.wanda.model;

/**   
*    
* 项目名称：wanda_java2
* 类名称：ContractModel   
* 类描述：   合同实体模型
* 创建人：SunBGLARE
* 创建时间：2016年5月18日 下午9:03:01   
* 版本：1.0.1     
*/
public class ContractModel {

	private String contract_id;//主键(36位随机数)
	private String contract_content;//合同内容
	private String sign_time;//签约时间
	private String first_party;//甲方
	private String contract_total;//合同总价
	private String customer_id;//客户编号 外键(客户表)
	private String customer_name;//客户名称
	private String order_id;//订单编号 外键(订单表)
	private String second_party;//乙方
	private String user_id;//业务员编号
	private String name;//业务员名称
	private String room_id;//房间编号 外键(房间表)
	private String room_area;//房间面积
	private float unit_price;//每平米单价
	private float total;//总价
	private String pay_type_name;//付款方式名称
	private int contract_state;//合同状态
	private String update_user;//修改人
	private String update_time;//修改时间
	private String delete_user;//删除人
	private String delete_time;//删除时间
	private String delete_state;//删除状态
	private String build_name;
	private String unit_code;
	private String build_up_area;
	public String getBuild_up_area() {
		return build_up_area;
	}
	public void setBuild_up_area(String build_up_area) {
		this.build_up_area = build_up_area;
	}
	public String getBuild_name() {
		return build_name;
	}
	public void setBuild_name(String build_name) {
		this.build_name = build_name;
	}
	public String getUnit_code() {
		return unit_code;
	}
	public void setUnit_code(String unit_code) {
		this.unit_code = unit_code;
	}
	public String getRoom_code() {
		return room_code;
	}
	public void setRoom_code(String room_code) {
		this.room_code = room_code;
	}
	private String room_code;
	
	
	@Override
	public String toString() {
		return "ContractModel [contract_id=" + contract_id + ", contract_content=" + contract_content + ", sign_time="
				+ sign_time + ", first_party=" + first_party + ", contract_total=" + contract_total + ", customer_id="
				+ customer_id + ", customer_name=" + customer_name + ", order_id=" + order_id + ", second_party="
				+ second_party + ", user_id=" + user_id + ", name=" + name + ", room_id=" + room_id + ", room_area="
				+ room_area + ", unit_price=" + unit_price + ", total=" + total + ", pay_type_name=" + pay_type_name
				+ ", contract_state=" + contract_state + ", update_user=" + update_user + ", update_time=" + update_time
				+ ", delete_user=" + delete_user + ", delete_time=" + delete_time + ", delete_state=" + delete_state
				+ "]";
	}
	public float getUnit_price() {
		return unit_price;
	}
	public void setUnit_price(float unit_price) {
		this.unit_price = unit_price;
	}
	public float getTotal() {
		return total;
	}
	public void setTotal(float total) {
		this.total = total;
	}
	public String getContract_total() {
		return contract_total;
	}
	public void setContract_total(String contract_total) {
		this.contract_total = contract_total;
	}
	public String getContract_id() {
		return contract_id;
	}
	public void setContract_id(String contract_id) {
		this.contract_id = contract_id;
	}
	public String getContract_content() {
		return contract_content;
	}
	public void setContract_content(String contract_content) {
		this.contract_content = contract_content;
	}
	public String getSign_time() {
		return sign_time;
	}
	public void setSign_time(String sign_time) {
		this.sign_time = sign_time;
	}
	public String getFirst_party() {
		return first_party;
	}
	public void setFirst_party(String first_party) {
		this.first_party = first_party;
	}

	public String getCustomer_id() {
		return customer_id;
	}
	public void setCustomer_id(String customer_id) {
		this.customer_id = customer_id;
	}
	public String getCustomer_name() {
		return customer_name;
	}
	public void setCustomer_name(String customer_name) {
		this.customer_name = customer_name;
	}
	public String getOrder_id() {
		return order_id;
	}
	public void setOrder_id(String order_id) {
		this.order_id = order_id;
	}
	public String getSecond_party() {
		return second_party;
	}
	public void setSecond_party(String second_party) {
		this.second_party = second_party;
	}
	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getRoom_id() {
		return room_id;
	}
	public void setRoom_id(String room_id) {
		this.room_id = room_id;
	}
	public String getRoom_area() {
		return room_area;
	}
	public void setRoom_area(String room_area) {
		this.room_area = room_area;
	}
	
	public String getPay_type_name() {
		return pay_type_name;
	}
	public void setPay_type_name(String pay_type_name) {
		this.pay_type_name = pay_type_name;
	}
	public int getContract_state() {
		return contract_state;
	}
	public void setContract_state(int contract_state) {
		this.contract_state = contract_state;
	}
	public String getUpdate_user() {
		return update_user;
	}
	public void setUpdate_user(String update_user) {
		this.update_user = update_user;
	}
	public String getUpdate_time() {
		return update_time;
	}
	public void setUpdate_time(String update_time) {
		this.update_time = update_time;
	}
	public String getDelete_user() {
		return delete_user;
	}
	public void setDelete_user(String delete_user) {
		this.delete_user = delete_user;
	}
	public String getDelete_time() {
		return delete_time;
	}
	public void setDelete_time(String delete_time) {
		this.delete_time = delete_time;
	}
	public String getDelete_state() {
		return delete_state;
	}
	public void setDelete_state(String delete_state) {
		this.delete_state = delete_state;
	}
	
}
